/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package idvalue;

import java.io.PrintWriter;
import java.util.concurrent.ConcurrentMap;

/**
 *
 * @author Administrator
 */
public abstract class Command {
    private String name;
    protected String result;

    /**
     * @return the name
     */
    public String getName() {
        return name;
    }

    /**
     * @param name the name to set
     */
    public void setName(String name) {
        this.name = name;
    }
    
    public Command(String name){
        setName(name);
    }
    
    public abstract String exec(ConcurrentMap<String,String> concurrentMap,String id, String value,PrintWriter out);
    
    
    
}
